<html>
<head>
<style type='text/css'>
body {
   background-color: white;
   margin: 1em 2em 1em 2em;
   font-family: Sans-Serif;
   color: #002;
   line-height: 140%;
   font-size: 12px;
}

h4 {
    font-size: 100%;
    font-style: normal;
    font-weight: bold;
}

h5 {
    font-size: 100%;
    font-style: italic;
    font-weight: normal;
}

pre {
   background-color: #eee;
   padding: 0.5em 0.5em 0.5em 2em;
}

@media print {
   pre {word-wrap:break-word; width:100%;}
} 

ul li,
ol li {
   padding-left: 0.3em;
   /*text-indent: -2em;*/
   margin-bottom: 0.5em;
}

em {
   font-style: normal;
   font-weight: bold;
   text-decoration: underline;
   color: #c40;
}

code {
   font-family: Monospace;
   font-size: 100%;
   color: #c40;
}

a, a * {
   text-decoration: underline;
   color: blue;
   /* border: 0.5px solid #aaa;
   white-space: nowrap;
   padding-right: 0.1em;
   padding-left: 0.1em;
   padding-bottom: -5px; */
}

a code {
   color: blue;
}

img {
   position: relative;
   bottom: -4px;
}

div.headline {
   font-weight: bold;
   font-size: 110%;
}

div.copyright {
   margin-top: 1em;
   border-top: 1px solid black;
   padding-top: 0.5em;
}

div.iris_headline {
   border-bottom: 1px solid black;
   padding-bottom: 0.3em;
}

.LaTeX {
   font-family: Monospace;
   font-size: 100%;
   border: 1px solid #060;
   color: #060;
}

code.LaTeX {
   background-color: white;
   padding: 0.5em 0.5em 0.5em 2em;
}
</style>
</head>

<body>
<div class="iris_headline">IRIS Toolbox Reference Manual</div>




<h2 id="model/subsasgn">subsasgn</h2>
<div class="headline">Subscripted assignment for model and systemfit objects</div>

<h4 id="syntax-for-assigning-parameterisations-from-other-object">Syntax for assigning parameterisations from other object</h4>
<pre><code>M(Inx) = N</code></pre>
<h4 id="syntax-for-deleting-specified-parameterisations">Syntax for deleting specified parameterisations</h4>
<pre><code>M(Inx) = []</code></pre>
<h4 id="syntax-for-assigning-parameter-values-or-steady-state-values">Syntax for assigning parameter values or steady-state values</h4>
<pre><code>M.Name = X
M(Inx).Name = X
M.Name(Inx) = X</code></pre>
<h4 id="syntax-for-assigning-std-deviations-or-cross-correlations-of-shocks">Syntax for assigning std deviations or cross-correlations of shocks</h4>
<pre><code>M.std_Name = X
M.corr_Name1__Name2 = X</code></pre>
<p>Note that a double underscore is used to separate the Names of shocks in correlation coefficients.</p>
<h4 id="input-arguments">Input arguments</h4>
<ul>
<li><p><code>M</code> [ model | systemfit ] - Model or systemfit object that will be assigned new parameterisations or new parameter values or new steady-state values.</p></li>
<li><p><code>N</code> [ model | systemfit ] - Model or systemfit object compatible with <code>M</code> whose parameterisations will be assigned (copied) into <code>M</code>.</p></li>
<li><p><code>Inx</code> [ numeric ] - Inx of parameterisations that will be assigned or deleted.</p></li>
<li><p><code>Name</code>, <code>Name1</code>, <code>Name2</code> [ char ] - Name of a variable, shock, or parameter.</p></li>
<li><p><code>X</code> [ numeric ] - A value (or a vector of values) that will be assigned to a parameter or variable Named <code>Name</code>.</p></li>
</ul>
<h4 id="output-arguments">Output arguments</h4>
<ul>
<li><code>M</code> [ model | systemfit ] - Model or systemfit object with newly assigned or deleted parameterisations, or with newly assigned parameters, or steady-state values.</li>
</ul>
<h4 id="description">Description</h4>
<h4 id="example">Example</h4>
<p>Expand the number of parameterisations in a model or systemfit object that has initially just one parameterisation:</p>
<pre><code>m(1:10) = m;</code></pre>
<p>The parameterisation is simply copied ten times within the model or systemfit object.</p>

</body>
<div class="copyright">IRIS Toolbox. Copyright &copy; 2007&#8212;2012 Jaromir Benes.</div>
</html>
